package com.tsin.usercenter.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.tsin.usercenter.model.request.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
@EqualsAndHashCode(callSuper = false)
@Data
public class TeamQuery extends PageRequest{
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 队伍名
     */
    private String teamName;

    /**
     * 队伍描述
     */
    private String teamDescription;

    /**
     * 队伍最大容量
     */
    private Integer teamMaxnumber;

    /**
     *
     */
    private Date teamExpiretime;

    /**
     * 0-公开 1-私有 2-加密
     */
    private Integer teamStatus;

    /**
     * 队伍加入密码
     */
    private String teamPassword;

    /**
     * 队长id
     */
    private Long userId;

}

